package com.dongdongshop.service;

import com.dongdongshop.pojo.TbGoods;
import com.dongdongshop.pojo.TbGoodsDesc;

import java.util.List;

public interface TbGoodsService {
    boolean insertByGoods(TbGoods tbGoods, TbGoodsDesc tbGoodsDesc);

    List<TbGoods> selectAll(TbGoods tbGoods);

    boolean updateByPass(Long[] ids);

    boolean updateByNoPass(Long[] ids);

    boolean deleteBy(Long[] ids);

    TbGoods selectGoodsById(Long goodsId);
}
